// Stroke.h: interface for the CStroke class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STROKE_H__703F2660_E021_43E8_BA1B_7C0B91093F62__INCLUDED_)
#define AFX_STROKE_H__703F2660_E021_43E8_BA1B_7C0B91093F62__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


 class CStroke : public CObject  
{
public:
	CStroke(UINT m_nPenWidth);
	CArray<CPoint,CPoint> m_pointArray;
	BOOL DrawStroke(CDC*pDC);
	virtual void Serialize(CArchive&ar);
	CRect m_rectBounding;
	CRect& GetBoundingRect(){return m_rectBounding;}
	void FinishStroke();
#ifdef _DEBUG
//	virtual void Dump(CDumpContext& dc) const;
#endif
 protected:
	DECLARE_SERIAL(CStroke);
	CStroke();
	virtual ~CStroke();
	UINT m_nPenWidth;


};

#endif // !defined(AFX_STROKE_H__703F2660_E021_43E8_BA1B_7C0B91093F62__INCLUDED_)
